package com.magic.cd.web;

import com.jfinal.config.Constants;
import com.jfinal.config.Handlers;
import com.jfinal.config.Interceptors;
import com.jfinal.config.JFinalConfig;
import com.jfinal.config.Plugins;
import com.jfinal.config.Routes;
import com.magic.cd.web.controller.WeixinController;

/**
 * 配置文件
 * @author LiXing
 * @date   2016/5/6
 * */
public class Config extends JFinalConfig {

	@Override
	public void configConstant(Constants me) {
		me.setEncoding("UTF-8");
		me.setDevMode(true);	//开启开发者模式
	}

	@Override
	public void configRoute(Routes me) {
		me.add("/", WeixinController.class);
	}

	@Override
	public void configPlugin(Plugins me) {
		
	}

	@Override
	public void configInterceptor(Interceptors me) {
		
	}

	@Override
	public void configHandler(Handlers me) {
		
	}

}
